package org.demo.tmp;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 
 * @author  
 * @date    2010-11-29
 * @file    org.demo.tmp.TestServlet.java
 */
public class TestServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private static Log logger = LogFactory.getLog(TestServlet.class);
	
	@Override
	public void init() throws ServletException {
		super.init();
		System.out.println("-->> LogFactory: " + LogFactory.getFactory().getClass());
		System.out.println("-->> Log: " + logger.getClass());
	}
}
